package com.zhou.starter.jpacomment.enums;


import com.zhou.starter.jpacomment.behavior.IEnum;

/**
 * @author lcz
 * @desc db类型枚举
 * @mail lcz_0130@163.com
 * @date 2024/03/01
 */

public enum DbTypeEnum implements IEnum {
    /**
     * dbtype
     */
    MYSQL {
        @Override
        public String getCode() {
            return "1";
        }

        @Override
        public String getValue() {
            return "MYSQL";
        }
    },
    SQLSERVER {
        @Override
        public String getCode() {
            return "2";
        }

        @Override
        public String getValue() {
            return "MICROSOFT SQL SERVER";
        }
    },
    ORACLE {
        @Override
        public String getCode() {
            return "3";
        }

        @Override
        public String getValue() {
            return "ORACLE";
        }
    },
    POSTGRESQL {
        @Override
        public String getCode() {
            return "4";
        }

        @Override
        public String getValue() {
            return "POSTGRESQL";
        }
    }
    ,
    DM {
        @Override
        public String getCode() {
            return "5";
        }

        @Override
        public String getValue() {
            return "DM";
        }
    },
    KINGBASE {
        @Override
        public String getCode() {
            return "6";
        }

        @Override
        public String getValue() {
            return "KINGBASE";
        }
    }


}
